home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.19971216-19980424 / 000293_news@newsmaster….columbia.edu _Thu Mar 12 17:46:59 1998.msg < prev    next >
Internet Message Format  |  2020-01-01  |  2KB

  1. Return-Path: <news@newsmaster.cc.columbia.edu>
  2. Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.35.30])
  3.     by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id RAA23072
  4.     for <kermit.misc@watsun.cc.columbia.edu>; Thu, 12 Mar 1998 17:46:58 -0500 (EST)
  5. Received: (from news@localhost)
  6.     by newsmaster.cc.columbia.edu (8.8.5/8.8.5) id RAA12276
  7.     for kermit.misc@watsun; Thu, 12 Mar 1998 17:46:58 -0500 (EST)
  8. Path: news.columbia.edu!watsun.cc.columbia.edu!fdc
  9. From: fdc@watsun.cc.columbia.edu (Frank da Cruz)
  10. Newsgroups: comp.protocols.kermit.misc
  11. Subject: Re: kermit for sco xenix
  12. Date: 12 Mar 1998 22:46:56 GMT
  13. Organization: Columbia University
  14. Lines: 27
  15. Message-ID: <6e9ol0$6dl$1@apakabar.cc.columbia.edu>
  16. References: <6e9nig$npb$1@camel29.mindspring.com>
  17. NNTP-Posting-Host: watsun.cc.columbia.edu
  18. Xref: news.columbia.edu comp.protocols.kermit.misc:8488
  19.  
  20. In article <6e9nig$npb$1@camel29.mindspring.com>,
  21. John Brnich <jabr@mindspring.com> wrote:
  22. : The following code crashes b4 the enter file name line with the
  23. : message "line too long or contains nul characters". I can't find any
  24. : unwanted characters using "vi". The set commands are accepted and it
  25. : does ask for user name and password.  What is wrong?
  26. :
  27. If the command does not contain any NUL characters, it must be too
  28. long.  C-Kermit's command buffer limits the size of macro definitions,
  29. bracketed code blocks, etc.  There are two solutions:
  30.  
  31.  . Rebuild C-Kermit for your platform with the "large memory model":
  32.  
  33.      make <whatever> KFLAGS=-DBIGBUFOK
  34.  
  35.  . Break up your macro definitions or bracketed blocks into smaller
  36.    pieces.
  37.  
  38. If you have long { ... } blocks, try extracting sections from them, defining
  39. them as macros, and then calling the macros from inside the blocks.
  40.  
  41. Version 6.1 eases the restriction on maximum lengths of many things, but
  42. remember: the restrictions were there in the first place for a reason.  On 
  43. old PCs (as you are likely to be running Xenix on), big programs tend to 
  44. make the poor computer swap itself to death, or worse.
  45.  
  46. - Frank